package org.example.common.dubbo.router;

import org.apache.dubbo.common.URL;
import org.apache.dubbo.common.extension.Activate;
import org.apache.dubbo.rpc.cluster.CacheableRouterFactory;
import org.apache.dubbo.rpc.cluster.Router;

@Activate(order = 1)
public class GrayScaleRouterFactory extends CacheableRouterFactory {


    @Override
    protected Router createRouter(URL url) {

        return new GrayScaleRouter(url);
    }
}
